﻿using System;

using BlueSky;

using ExampleWebSite.Requests;
using ExampleWebSite.Models;

namespace ExampleWebSite.Services
{
    public class CalcService : ICalcService
    {
        public CalcModelBase Sum(CalcRequest r)
        {            
            return new SumCalcModel(r.A, r.B);
        }

        public CalcModelBase Mul(CalcRequest r)
        {
            return new MulCalcModel(r.A, r.B);
        }
    }
}
